<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar">基本信息</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="table1" cellspacing="1">
	<tr>
		<td   align="right" width="20%"><span class="color_red">*</span>项目名称：</td>
		<td  colspan="3">
			<x:out select="$xmlData/data/proposal/zh_title" />
		</td>
	</tr>
	<%-- <tr>
		<td   align="right" width="20%">项目类别：</td>
		<td  colspan="3">
			<x:out select="$xmlData/data/proposal/sub_grant_name" /> 
		</td>
	</tr>
 --%>	
	 <tr>
	<td  align="right" nowrap><span class="color_red">*</span>申报领域：</td>
	<td colspan="3">
			<x:out select="$xmlData/data/proposal/domain_name" />
	</td>
	</tr>
	
	<tr> 
	<td align="right"><span class="color_red">*</span>学科名称：</td>
   <td  colspan="3">
        <x:out select="$xmlData/data/proposal/subject_name" />
   </td>
	</tr>

	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>项目开始时间：</td>
		<td width="30%">
			<x:out select="$xmlData/data/proposal/start_date" />
		</td>
		<td  align="right" nowrap width="20%"><span class="color_red">*</span>项目结束时间：</td>
		<td width="30%">
			<x:out select="$xmlData/data/proposal/end_date" />
		</td>
	</tr>
	<tr>
	    <td  align="right" nowrap width="20%"><span class="color_red">*</span>申报日期：</td>
		<td colspan="3">
			<x:out select="$xmlData/data/proposal/submit_date" />
		</td>
	</tr>
	</table>
	
 <table class="t_css" width="100%" border="0" cellpadding="0"   cellspacing="1" id="table3">
      <tr class="li_1">
          <td align="left"><strong>1、科技扶贫示范村主要建设内容</strong></td>
      </tr>
      <tr class="li_2">
         <td>
				<x:out select="$xmlData/data/proposal/goal/summary1_hidden" escapeXml="false"/>
		  </td>
      </tr>
      <tr class="li_1">
          <td align="left"><strong>2、主要技术经济指标和贫困户增收情况</strong></td>
      </tr>
      <tr class="li_2">
          <td>
				<x:out select="$xmlData/data/proposal/goal/summary2_hidden" escapeXml="false"/>
	      </td>
      </tr>
   </table>

<script type="text/javascript">

function cydw(id){
	var count =0 ;
	$("#"+id).find("input[type='text']").each(function(){
		if($.trim($(this).val()) != ''){
			count +=1;
		}
	});
	if(count != 0){
		$("#"+id).find("input[type='text']").each(function(){
			$(this).addClass("required");
		});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','');
		});
	}else{
		$("#"+id).find("input[type='text']").each(function(){
			$(this).removeClass("required");
	});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','none');
		});
	}
}

function setProjectPlace(op){
	var address = $("#address_value").val();
	if(op) address = '${address}';
	$("#address_name_other").removeClass("required");
	if(address == '02'){
		$("#address_name_other_span").show();
		$("#address_name_other").css("display","");
		$("#address_name_other").addClass("required");
	}else{
		$("#address_name_other_span").hide();
		$("#address_name_other").removeClass("required");
		$("#address_name_other").val("");
	}
}
function initTreeValue2CallBack(){
	cydw('org1');
	cydw('org2');
}
function setEmptyValueForTree(id){
	$("#"+id).val("");
	$("#"+id+"_hideId").val("");
	$("#"+id+"_hideName").val("");
	$("#"+id+"_code").val("");
	$("#"+id+"_value").val("");
	$("#"+id+"_name").val("");
	$("#"+id + ",[name$='/"+id+"_code']" + ",[name$='/"+id+"_name'],[name$='/"+id+"_value']").val("");
	$("#sqdm").val("");
	cydw('org1');
	cydw('org2');
}

</script>

